package com.example.egmybatis2.mapper;

import com.example.egmybatis2.pojo.entity.Product;
import com.example.egmybatis2.pojo.vo.selectSingleProduct;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);

    selectSingleProduct selectProductById(Long id);

    int  deleteById(Long id);

    List<Product> selectProduct();
}
